import request from '@/utils/request'

/**
 * 获取所有楼层的房间床位信息
 */
export function getFloorRoomBedList() {
  return request({
    url: '/system/floorRoomBed/list',
    method: 'get'
  })
}

/**
 * 根据楼层ID获取指定楼层的房间床位信息
 * @param {Number} floorId - 楼层ID
 */
export function getFloorRoomBedByFloorId(floorId) {
  return request({
    url: `/system/floorRoomBed/${floorId}`,
    method: 'get'
  })
}